using UnityEngine;
using QFramework;
using ProjectSurvivor;

namespace QFrameworkSurvivor
{
	public partial class CollectableArea : ViewController
	{
		void Start()
		{
			// Code Here
			Global.CollectableArea.RegisterWithInitValue( range => 
			{
				GetComponent<CircleCollider2D>().radius = range ;
			}).UnRegisterWhenGameObjectDestroyed(gameObject);
		}
	}
}
